package com.amigo.online.provider.user.mapper;

import com.amigo.online.common.core.mybatis.MyMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author
 * @version 1.0
 * @className UtilMapper
 * @description
 * @date 2019/4/10 21:58
 **/
@Repository
public interface UtilMapper {

    /**
     * 没有版本号直接返回true,大于0返回true,0 - false
     */
    @Select("select is_on from ios_switch_tbl where version = #{version}")
    Integer getValueByVersion(String version);
}
